<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>上传文件</title>
</head>
<body>
<!-- http://localhost:8080/web03/uplaod -->
<form action="${pageContext.request.contextPath}/upload" method="post" enctype="multipart/form-data">
    <label>上传人：<input type="text" name="user" autofocus></label><br>
    <label>文件：<input type="file" name="photo"></label><br>
    <input type="submit" value="提交"><input type="reset" value="重置">
</form>
</body>
</html>
